<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
<!-- Loading Bootstrap -->
<link href="http://127.0.0.1/cms_edu/Static/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
<!-- Loading Flat UI -->
<link href="http://127.0.0.1/cms_edu/Static/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
<link href="http://127.0.0.1/cms_edu/Static/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
<link rel="shortcut icon" href="http://127.0.0.1/cms_edu/Static/Admin/Flat/img/favicon.ico">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="dist/js/vendor/html5shiv.js"></script>
  <script src="dist/js/vendor/respond.min.js"></script>
<![endif]-->
	</head>
	<body>
		<table class="table table-hover">
			<tr class="active">
			  <th width="30">article_aid</th>
			  <th>评论内容</th>
			  <th>评论时间</th>

			  <th width="210">操作</th>
			</tr>
			<?php foreach ($data as $k=>$v){?>
			<tr>
				<td><?php echo $v['article_aid'];?></td>
				<td><?php echo $v['comcon'];?></td>
				<td><?php echo date('Y-m-d',$v['addtime']);?></td>
				
				
				<td>
<a href="javascript:;" class="btn btn-sm btn-danger" onclick="if(confirm('确定删除吗？')) location.href='<?php echo U('del',array('coid'=>$v['coid']));?>'">删除</a>
				</td>
			</tr>
		<?php }?>
		</table>
	</body>
</html>
